package com.campus.customer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campus.customer.entity.Order;
import com.campus.customer.vo.order.OrderStatusCountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author ZhaoYuJie
 * @since 2025-04-02
 */
public interface OrderMapper extends BaseMapper<Order> {

    List<OrderStatusCountVo> getOrderStatusCountList(@Param("userId") Integer userId);

}
